'''自己写的print,避免编码问题'''

import os

def myPrint(srcString):
  for text in srcString.split('\n'):
    os.system('echo '+text)
    

if __name__ == '__main__':
  srcString = '111\n222'
  myPrint(srcString)